<?php

namespace App\Http\Requests\ApiV2;

class VendorRequest extends BaseRequest
{
    public function rules()
    {
        return [
            'vendorName' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'warehouse.required' => __('供应商名称必须有'),
        ];
    }

    public function filldata()
    {
        return [
            'vendorName' => $this->input('vendorName'),
            'remark' => $this->input('remark'),
        ];
    }
}
